package com.apes.auto.maintain.model;

import com.apes.framework.jpa.ApesBean;
import com.apes.framework.jpa.DefaultPersistListener;
import com.apes.framework.jpa.comment.Comment;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.SelectBeforeUpdate;

import javax.persistence.*;

/**
 * @ClassName CarTheOilDosageSupply
 * @Description TODO
 * @Author pengyb
 * @Date 2019/8/8 16:29
 * @Version 1.0
 **/
@Getter
@Setter
@SelectBeforeUpdate
@DynamicInsert
@DynamicUpdate
@Entity
@EntityListeners(DefaultPersistListener.class)
@Table(name = CarTheOilDosageSupply.CONST_TABLE_NAME)
public class CarTheOilDosageSupply implements ApesBean {
    public static final String CONST_TABLE_NAME = "qcyy_supply";

    @Id
    @Column(name = "levelID", length = 32)
    @Comment("levelID")
    private String levelID;

    @Column(name = "CXID", length = 32)
    @Comment("车型ID")
    private String CXID;

    @Column(name = "BSXYDXJZL")
    @Comment("变速箱油大修加注量(升)")
    private String BSXYDXJZL;


    @Column(name = "BSXYBYJZL")
    @Comment("变速箱油保养加注量(升)")
    private String BSXYBYJZL;

    @Column(name = "BSXYGG")
    @Comment("变速箱油规格")
    private String BSXYGG;


    @Column(name = "ZDYJZL")
    @Comment("制动液加注量(升)")
    private String ZDYJZL;

    @Column(name = "ZDYGG")
    @Comment("制动液规格")
    private String ZDYGG;


    @Column(name = "ZXZLYJZL")
    @Comment("转向助力油加注量(升)")
    private String ZXZLYJZL;


    @Column(name = "ZXZLYGG")
    @Comment("转向助力油规格")
    private String ZXZLYGG;

    @Column(name = "LQYJZL")
    @Comment("冷却液加注量(升)")
    private String LQYJZL;

    @Column(name = "LQYGG")
    @Comment("冷却液规格")
    private String LQYGG;

}
